<?php
namespace app\admin\controller;
use think\Controller;
use think\Db;

//地区管理
class Area extends Controller
{ 
  //获取子类
  public function getzi(){
    $pid=input('get.pid');
    $list=Db::table('area')->where('Parent_code',$pid)->select();
    echo json_encode($list);
  }
}
